package com.xjl.user.cacheInit;

import com.xjl.common.redis.init.AbstractCache;
import com.xjl.common.redis.utils.DistributedCache;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class SysAuthCache extends AbstractCache {
    @Resource
    DistributedCache distributedCache;

    @Override
    public void initCache(){
        distributedCache.put("test_init_cache2","test_init_cache");
    }

}
